package com.ruoyi.slope.device.log.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

/**
 * 连接日志对象 slope_device_log
 * 
 * @author psy
 * @date 2025-05-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Mapper
public class SlopeDeviceLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键id */
    private Long id;

    /** 设备序列号 */
    @Excel(name = "设备序列号")
    private String deviceSn;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 事件内容 */
    @Excel(name = "事件内容")
    private String eventContent;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 部门id */
    private Long deptId;

}
